package com.ruoyi.tws.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.MyPlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 轨迹对象 tws_order_gis
 * 
 * @author wms
 * @date 2021-06-30
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tws_order_gis")
public class OrderGis extends MyPlusEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 车辆 */
    @Excel(name = "车辆")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long carId;

    /** 轨迹 */
    @Excel(name = "轨迹")
    private String positions;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String plateNumber;

    /** 订单 */
    @Excel(name = "订单")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;

}
